<template>
  <div class="top">
    <div class="topfix">
      <h1 class="topl">
        <span class="toplp">网易云音乐</span>
      </h1>
      <div class="topr">
        <span class="topbton">下载APP</span>
      </div>
    </div>
  </div>
</template>
<style lang="less" scoped>
.top {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 84px;
  .topfix {
    background: #d43c33;
    height: 84px;
    width: 100%;
    position:fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 20px;
    .topl{
      position: relative;
      width: 142px;
      height: 25px;
      .toplp{
        color: #fff;
        font-size: 24px;
      }
    }

    .topr{
      border: 1px;
      .topbton{
        position:absolute;
        right: 24px;
        top: 24px;
        display: inline-block;
        height: 36px;
        line-height: 36px;
        font-size: 16px;
        width: 100px;
        text-align: center;
        color: #d43c33;
        background-color: #fff;
        border-radius: 37.5%/100%;
      }
    }
  }
}
</style>